package com.tjp.subject.application.controller;

import com.tjp.subject.infra.basic.entity.SubjectCategory;
import com.tjp.subject.infra.basic.service.SubjectCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: jz-club
 * @description: 测试vc
 * @author: aaronTang
 * @create: 2024-02-20
 */
@RestController
public class TestController {

    @Autowired
    private SubjectCategoryService subjectCategoryService;

    @GetMapping("/test")
    public SubjectCategory test() {
        SubjectCategory subjectCategory = subjectCategoryService.queryById(1L);
        return subjectCategory;
    }
}
